/** * This file was auto-generated by Fern from our API Definition. */ import * as Skyflow from "../../../../index"; /** * @example * { * vault_id: "f4b3b3b33b3b3b3b3b3b3b3b3b3b3b3b", * file: { * base64: "SGkgaSBhbSBEZXZhbnNodSwgbGl2...aW5nIGluIGNhbGlmb3JuaWEuIA==", * data_format: "jpg" * } * } * * @example * { * vault_id: "VAULT_ID", * file: { * base64: "BASE64_DATA", * data_format: "jpg" * } * } */ export interface DeidentifyImageRequest { vault_id: Skyflow.VaultId; /** File to de-identify. Files are specified as Base64-encoded data. */ file: Skyflow.DeidentifyImageRequestFile; configuration_id?: Skyflow.ConfigurationId; /** If `true`, includes processed image in the output. */ output_processed_image?: boolean; /** If `true`, includes OCR text output in the response. */ output_ocr_text?: boolean; /** Method to mask the entities in the image. */ masking_method?: Skyflow.DeidentifyImageRequestMaskingMethod; entity_types?: Skyflow.EntityTypes; token_type?: Skyflow.TokenTypeWithoutVault; allow_regex?: Skyflow.AllowRegex; restrict_regex?: Skyflow.RestrictRegex; transformations?: Skyflow.Transformations; }